package com.example.a12138.myapplication.presenter;

import android.content.Context;

import com.example.a12138.myapplication.http.MyDataManager;
import com.xdw.mvp.presenter.BasePresenter;

public class BookPresenter extends BasePresenter {
    private Context context;

    public BookPresenter(Context context) {
        this.context = context;
    }

    public void getBookById(int book_id){
        commitSubscription(context,MyDataManager.getInstance(context).getBookById(book_id),true);
    }


}